//异常号码——黑名单
import { baseRequest } from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/tjzy/blacklist/` + url, ...arg)
export default {
	pageList(data) {
		return request('pageList', data, 'post')
	},
	importExcel(data) {
		return request('importExcel', data)
	},
	add(data) {
		return request('add', data, 'post')
	},
	delete(id) {
		return request('del/' + id, '', 'get')
	},
	//坐席拨打过滤黑名单
	verifyBlack(phone) {
		return request('verifyBlack/'+phone, null, 'get')
	}
}
